import { OrderItemDto } from "./orderItemDto";
import { OrderStatusHistoryDto } from "./orderStatusHistoryDto";
import { PaymentType } from "./paymentType";
import { ExpressForOrderDto } from "../../express/dto/expressForOrderDto";
import { OrderStatus } from "./OrderStatus";

export class OrderDto {
    id: string
    address: string
    areaCode: string
    areaCodeDisplayName: string
    closedReason: string
    moduleTypeId: string
    outTradeNo: string
    originalPrice: number
    rebatePrice: number
    adminRebatePrice: number
    finalPrice: number
    status: number
    statusDisplayName: string

    paymentType: number
    paymentTypeDisplayName: string
    expressId?: number
    expressNumber: string
    ExpressFee: number
    adminRemark: string
    orderScoreId: number
    shouldComment: boolean
    isSuccessForPin: boolean
    creationTime: Date

    creatorUserId: number

    mobilephone: string
    // orderCoupons
    orderItems: OrderItemDto[]
    orderStatusHistories: OrderStatusHistoryDto[]
    paymentBody: string
    paymentSubject: string
    receiptUserName: string
    remark: string
    telephone: string
    tradeNumber: string
    zipCode: string
    express?:ExpressForOrderDto
    isConfirmed:boolean
    // public ExpressForOrderDto Express { get; set; }
    // public UserListDto CreatorUser { get; set; }

}